package day6zy;

import java.util.Scanner;

public class Day6zy6 {
    int age;
    int jg;
    public void jg(){
        System.out.println("请输入年龄：");
        Scanner in = new Scanner(System.in);
        int nl = in.nextInt();
        if (nl>=10||nl<=25){
            jg = 5;
        } else if (nl>=26||nl<=50) {
            jg = 10;
        } else if (nl>=50||nl<=75) {
            jg = 15;
        }else {
            jg = 0;
        }
        System.out.println(jg);
    }
}
class jg extends Day6zy6{
    public static void main(String[] args) {
        jg j = new jg();
        j.jg();
    }
}